<template>
	<view class="wrapper">
		<view  v-for="i in list" class="flex"  >
			<view class="left">
				<view class="title">￥<text>{{i.price}}</text></view>
			</view>
			<view class="right">
				<view class="title">{{i.title}}</view>
				<view  v-for="coupon in i.couponlist" class="coupon">
					{{coupon}}
				</view>
			</view>
			<view class="get">
				领取优惠券
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[
					{
						price:5,
						title:'新客户专享优惠券',
						couponlist:[
							'满30元可用',
							'限2020-01-01至2020-12-31使用',
							'限手机号为18800000000使用'
						]
					},
					{
						price:5,
						title:'新客户专享优惠券',
						couponlist:[
							'满30元可用',
							'限2020-01-01至2020-12-31使用',
							'限手机号为18800000000使用'
						]
					}
				]
			}
		},
		onLoad() {
	
		},
		methods: {
	
		}
	}
</script>

<style scoped>
	.wrapper{padding: 20rpx 40rpx;}
	.wrapper .flex{display: flex; padding: 60rpx 0rpx 92rpx 0rpx;background: white;border-radius:40rpx;margin-bottom: 20rpx; align-items:center;position: relative;}
	.wrapper .flex .left{
		color:rgba(13,104,102,1);
		padding:0rpx 72rpx 0rpx 48rpx;
	}
	.wrapper .flex .left text{
		font-size:80rpx;
		font-family:DIN Alternate;
		font-weight:bold;
	}
	.wrapper .flex .right{
		flex: 1;
	}
	.wrapper .flex .right .title{
		font-size:28rpx;
		font-family:PingFang SC;
		font-weight:500;
		line-height:40px;
		color:rgba(13,104,102,1);
	}
	.wrapper .flex .right .coupon{
		font-size:20rpx;
		font-family:PingFang SC;
		font-weight:400;
		color:rgba(153,153,153,1);
	}
	.wrapper .flex .get{
		background: #0D6866;
		position: absolute;
		right: 0;
		bottom: 0;
		height: 60rpx;
		
		font-size:24rpx;
		font-family:PingFang SC;
		font-weight:500;
		line-height:60rpx;
		padding: 0 60rpx;
		color:rgba(255,255,255,1);
		border-radius: 40rpx 0rpx 40rpx 0rpx;;
	}
</style>
